package demo3;

public class Animal {
    public Animal(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public String name;
    public   int age;
    public void base(){
        System.out.println(this.name+" 正在吃饭");
    }

}
